import store from "./sessionStore";
let key = 'name'

export const getName = () => store.get(key)
export const setName = name => store.set(key,name)
export const delName = () => store.del(key)
export const hasName = () => store.get(key) === '' ? false : true